
var srv = ''
var appUrl = ''
var authUrl = ''
var busi = ''
var appid = ''
var component_appid = ''
var edu = ''
if (location.host == 'busi.xueerqin.net') {
    // fytest = 'https://t-api-fytest.xueerqin.net'  
    srv = 'https://srv.xueerqin.net'
    appUrl = 'https://app.xueerqin.net'
    authUrl = 'https://oauth.fjfuyu.net'
    busi = 'https://busi.xueerqin.net'
    appid = 'wx8a1dedca1e981275'
    component_appid = 'wx291a5c20c933f8ce'
    edu = 'https://edu.fjfuyu.net'
} else if (location.host == 's-busi.xueerqin.net') {
  
    srv = 'https://ssrv.xueerqin.net'
    appUrl = 'https://sapp.xueerqin.net'
    authUrl = 'https://stag.oauth.fjfuyu.net'
    busi = 'https://s-busi.xueerqin.net'
    appid = 'wxf7bce0e19b3f0ed7'
    component_appid = 'wx7a0a709ac4ef78da'
    edu = 'https://stag.edu.fjfuyu.net'
} 
else {
   
    srv = 'https://tsrv.xueerqin.net'
    appUrl = 'https://tapp.xueerqin.net'
    authUrl = 'https://test.oauth.fjfuyu.net'
    busi = 'https://t-busi.xueerqin.net'
    appid = 'wx8a1dedca1e981275'
    component_appid = 'wx887b887515b4c710'
    edu = 'https://test.edu.fjfuyu.net'
}

var fytest = srv + '/t-api-fytest'
var baseUrl = appUrl
var eduUrl = edu

var scope = 'snsapi_userinfo'

var clientId = "fuyu_school_mobile"
var clientSecret = "fuyu_school_mobile_secret"